package Simulator;

public class Msg {
	int operation;
	String address;
	int to;
	String value;

	/**
	 * @param from
	 * @param to
	 * @param operation
	 * @param address
	 * @param value
	 */
	public Msg(int to, int operation, String address,
			String value) {
		this.operation = operation;
		this.address = address;
		this.to = to;
		this.value = value;
	}

	@Override
	public String toString() {
		return to + "," + operation + "," + address + "," + value;
	}
	/*
	 * instruction value PrWr 1 PrRd 2 BusRd 3 BusRdX 4 BusUpgr 5 Flush 6
	 */
}
